#ifndef Sonar_H
#define Sonar_H

#include "WProgram.h"

class Sonar
{
    public:
        Sonar(int);
        int ping();
        int ping(char);    
    private:
        int pingPin;
        int microsecondsToInches(int);
        int microsecondsToCentimeters(int);
};

#endif